<% gcp_project_id = "#{external_attribute(pwd, 'gcp_project_id', doc_generation)}" -%>
<% http_health_check = grab_attributes(pwd)['http_health_check'] -%>
describe google_compute_http_health_checks(project: <%= doc_generation ? "#{gcp_project_id}" : "gcp_project_id" -%>) do
  its('names') { should include <%= doc_generation ? "'#{http_health_check['name']}'" : "http_health_check['name']" -%> }
  its('timeout_secs') { should include <%= doc_generation ? "'#{http_health_check['timeout_sec']}'" : "http_health_check['timeout_sec']" -%> }
  its('check_interval_secs') { should include <%= doc_generation ? "'#{http_health_check['check_interval_sec']}'" : "http_health_check['check_interval_sec']" -%> }
end